package com.raos.example.config;

import lombok.Getter;
import lombok.Setter;
import org.noear.solon.annotation.BindProps;
import org.noear.solon.annotation.Configuration;

import java.util.List;

/**
 * 阿里百炼大模型平台-聊天模型属性配置
 *
 * @author raos
 * @date 2025-04-04
 */
@Setter
@Getter
@BindProps(prefix = DashscopeConfig.PREFIX_CHAT)  //绑定属性注解(v3.0.7后支持)
@Configuration
public class ChatModelProperties {

    /*** 启用开关 */
    private Boolean enabled;
    /*** api访问基本路径 */
    private String baseUrl;
    /*** apikey */
    private String apiKey;
    /*** 模型名 */
    private String modelName;
    private Double topP;
    private Integer topK;
    private Boolean enableSearch;
    private Integer seed;
    private Float repetitionPenalty;
    private Float temperature;
    private List<String> stops;
    private Integer maxTokens;

}
